package com.fqgj.sentry.policy.entity;
import com.fqgj.common.entity.BaseEntity;

/**
* User: liupengpeng
* Date: 2017-08-09
* Time: 14:50:45.250
* TableDesc:
*/
public class PcRuleConditionEntity extends BaseEntity{
    /**
    *策略集id
    */
    private Long policyId;
    /**
    *规则id
    */
    private Long ruleId;
    /**
    *匹配类型
1：首次匹配 2：最坏匹配 3：权重匹配 4：评分
    */
    private Integer conditionType;
    /**
    *首次匹配条件
    */
    private String firstCondition;
    /**
    *最坏匹配规则
    */
    private String worstCondition;
    /**
    *权重匹配条件

    */
    private String weightCondition;
    /**
    *评分条件
    */
    private String scoreCondition;


    public  Long getPolicyId(){
        return this.policyId;
    }

    public  PcRuleConditionEntity setPolicyId(Long policyId){
        this.policyId = policyId;
        return this;
    }

    public  Long getRuleId(){
        return this.ruleId;
    }

    public  PcRuleConditionEntity setRuleId(Long ruleId){
        this.ruleId = ruleId;
        return this;
    }

    public  Integer getConditionType(){
        return this.conditionType;
    }

    public  PcRuleConditionEntity setConditionType(Integer conditionType){
        this.conditionType = conditionType;
        return this;
    }

    public  String getFirstCondition(){
        return this.firstCondition;
    }

    public  PcRuleConditionEntity setFirstCondition(String firstCondition){
        this.firstCondition = firstCondition;
        return this;
    }

    public  String getWorstCondition(){
        return this.worstCondition;
    }

    public  PcRuleConditionEntity setWorstCondition(String worstCondition){
        this.worstCondition = worstCondition;
        return this;
    }

    public  String getWeightCondition(){
        return this.weightCondition;
    }

    public  PcRuleConditionEntity setWeightCondition(String weightCondition){
        this.weightCondition = weightCondition;
        return this;
    }

    public  String getScoreCondition(){
        return this.scoreCondition;
    }

    public  PcRuleConditionEntity setScoreCondition(String scoreCondition){
        this.scoreCondition = scoreCondition;
        return this;
    }
}
